import VueRouter from 'vue-router'
import Login from '../components/Login'
import Table from '../components/Table'
import ForgetPass from '../components/ForgetPass'
import Enroll from '../components/Enroll'
import Avatar from '../components/Avatar'
import shoppingCart from '../components/shoppingCart'
const routes = [
    {
        path: '/',
        name: 'Login',
        component: Login
    },
    {
        path: '/table',
        name: 'Table',
        component: Table,
    },
    {
        path: '/forgetpass',
        name: 'ForgetPass',
        component: ForgetPass
    },
    {
        path: '/enroll',
        name: 'Enroll',
        component: Enroll
    },
    {
        path: '/avatar',
        name: 'Avatar',
        component: Avatar
    },
    {
        path: '/shoppingCart',
        name: 'shoppingCart',
        component: shoppingCart
    },
]

const router = new VueRouter({
    routes
})

export default router

